package com.tjl.warehouse.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 27701
 * @createDate 2024/5/12
 */
@Data
public class UserDto implements Serializable {


    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     *
     */
    @TableField(value = "user_code")
    private String userCode;

    /**
     *
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 1 超级管理员 、 2  管理员 、 3 普通用户
     */
    @TableField(value = "user_type")
    private String userType;

    /**
     * 0 未审核 、1 已审核
     */
    @TableField(value = "user_state")
    private String userState;

    /**
     *
     */
    @TableField(value = "create_by")
    private Integer createBy;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     *
     */
    @TableField(value = "update_by")
    private Integer updateBy;

    /**
     *
     */
    @TableField(value = "update_time")
    private Date updateTime;


}
